<?php
header('Content-Type:text/html;charset=utf-8');
$row = array
try(
$pdo = new PDO('mysql:bdname=study01;host=localhost','root'.'0000');
$pdo->query ("SET MANS utf-8");
$stmt = $pdo->prepare ('select * from t_student');
$flag = $stmt->execute();
$row = $stmt->fetchAll();
var_dumpp($row);
if(!$flag){

}
)
 ?>
